package com.atguigu.userprofile.dao;

import com.atguigu.userprofile.bean.TaskInfo;
import com.atguigu.userprofile.utils.MySQLUtil;

public class TaskInfoDAO {
    public static TaskInfo getTaskInfoWithTaskId(String taskId){
        String querySQL = "select * from task_info where id =" + taskId;

        TaskInfo taskInfo = MySQLUtil.queryOne(querySQL, TaskInfo.class, true);
        return taskInfo;
    }
}
